import { defineStore } from "pinia";
export const useUserStore = defineStore("userStore", {
    state: () => {
        return {
            roles: [],
            menus: [],
        };
    },
    getters: {},
    actions: {
        setRoles(roles: []) {
            this.roles = roles;
        },
        setMenus(menus: []) {
            this.menus = menus;
        },
    },
    persist: true,
});
export default useUserStore;
